package com.zxy.lm.service;

import com.zxy.lm.VO.UserLoginVO;
import com.zxy.lm.VO.UserRegisterVO;
import com.zxy.lm.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiusi
 * @since 2021-06-22
 */
public interface UserService extends IService<User> {

    User login(UserLoginVO user);

    boolean register(UserRegisterVO userVO);

    Integer getUserIdByUsername(String username);

    boolean changePassword(String username, String pass, String newPass);
}
